package org.jypj.dev.model;

import com.google.gson.Gson;

/**
 * 181故障记录表
 *
 * @author chenyu
 */
public class OeoProblem implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String id; //主键ID
    private String loginId; //登录ID
    private String problemContent; //问题内容
    private String filePath; //文件路径
    private String createTime; //问题上报的时间
    private String type; //故障类型
    private String trainNo; //车次编号
    private String trainCode; //故障车次

    private String userName;//用户名称
    private String userNum;//用户编号
    private String trainNum;//车组号
    private String typeName;//分类名称


    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoginId() {
        return this.loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getProblemContent() {
        return this.problemContent;
    }

    public void setProblemContent(String problemContent) {
        this.problemContent = problemContent;
    }

    public String getFilePath() {
        return this.filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTrainNo() {
        return this.trainNo;
    }

    public void setTrainNo(String trainNo) {
        this.trainNo = trainNo;
    }

    public String getTrainCode() {
        return this.trainCode;
    }

    public void setTrainCode(String trainCode) {
        this.trainCode = trainCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNum() {
        return userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTrainNum() {
        return trainNum;
    }

    public void setTrainNum(String trainNum) {
        this.trainNum = trainNum;
    }

    @Override
    public String toString() {

        return new Gson().toJson(this);
    }

}